<?php
// error_reporting(0);
error_reporting(E_ALL ^ E_NOTICE);

date_default_timezone_set('Asia/Shanghai');

define("APP_PATH",  realpath(dirname(__FILE__) . '/../')); /* 指向public的上一级 */
$app  = new Yaf_Application(APP_PATH . "/conf/application.ini");
$app->bootstrap()->run();
